var initialState={
    detail:[],
}

function detail(state=initialState,action){
    switch(action.type){
        case "GETDETAIL":
            return Object.assign({},state,{detail:action.data});
        default:
            return state;
    }
}

export default detail;